/*
* ============================================================================
*  Name     : GV60SettingsView.h
*  Part of  : GV60
*  Copyright: Wipo Software
* ============================================================================
*/

#ifndef GV60_SETTINGS_VIEW_H
#define GV60_SETTINGS_VIEW_H

// INCLUDES
#include <aknview.h>
#include <aknsettingitemlist.h>


// CONSTANTS
// UID of view
const TUid KSettingsViewId = {2};

// FORWARD DECLARATIONS
class CGV60SettingsSettingList;

// CLASS DECLARATION
class CGV60SettingsView : public CAknView
{
  public: // Constructors and destructor
    void ConstructL();
    ~CGV60SettingsView();
  
  public: // Functions from base classes
    TUid Id() const;
    void HandleCommandL(TInt aCommand);
    void HandleClientRectChange();
    void RetrieveAndSaveEventL();

  public: // New function
    void SizeChanged();
        
  private:
    void DoActivateL(const TVwsViewId& aPrevViewId,TUid aCustomMessageId, const TDesC8& aCustomMessage);
    void DoDeactivate();
  
  private: // Data
    CGV60SettingsSettingList*   m_pSettingList;
    TUid                        m_iPreviousView;
};

#endif  // GV60_SETTINGS_VIEW_H

